package com.nju.bean.newsbang.data;

import java.util.Calendar;

public class Reply {
	private String id;
	private String authorName;
	private String context;
	private Calendar produceTime;
	private String topicId;

	public Reply(String an,String c,String ti){
		authorName=an;
		context=c;
		produceTime=Calendar.getInstance();
		topicId=ti;
	}
    public Reply(String id, String au,String c,Calendar time,String t){
    	this.id=id;
    	authorName=au;
    	context=c;
    	produceTime=time;
    	topicId=t;
    }
	public String getId() {
		return id;
	}

	public String getContext(){
		return context;
	}
	
	public String getAuthorName(){
		return authorName;
	}
	
	public void setId(String id) {
		this.id = id;
	}
	public String getTopicID(){
		return topicId;
	}
	
	public Calendar getTime(){
		return produceTime;
	}
}
